package cs2340.quarterblack.wheresmystuff;

import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.GoogleMapOptions;
import com.google.android.gms.maps.MapFragment;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.MarkerOptions;

import android.app.Activity;
import android.os.Bundle;

public class MapView extends Activity {
	
	private GoogleMap map;

	@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_mapview);
        
        map = ((MapFragment)getFragmentManager().findFragmentById(R.id.mapview_map)).getMap();
        
        map.moveCamera(CameraUpdateFactory.newLatLng(new LatLng(33.7489,-84.3881)));
        
        map.addMarker(new MarkerOptions()
        	.position(new LatLng(33.7489,-84.3881))
        	.title("Atlanta"));
    }
}
